<template>
  <div class="construction-view">
    <!-- 页面头部 -->
    <div class="page-header">
      <h1 class="page-title">
        <span class="icon">🏗️</span>
        系统建设视图
      </h1>
      <div class="breadcrumb">首页 / 系统架构 / 系统建设</div>
    </div>

    <!-- 主要内容区域 -->
    <div class="content-container">
      <!-- 系统概览卡片 -->
      <div class="overview-card">
        <div class="overview-header">
          <div class="overview-icon">🏥</div>
          <div class="overview-info">
            <h2 class="overview-title">区域慢病管理系统建设</h2>
            <p class="overview-subtitle">基于分布式架构的医疗数据管理平台</p>
          </div>
        </div>
        <p class="overview-description">
          本系统采用多层架构设计，实现医疗数据的安全采集、传输、存储和分析，
          支持多级医疗机构协作，为慢性病患者提供全周期健康管理服务。
        </p>
        <div class="overview-stats">
          <div class="stat-item">
            <div class="stat-value">4</div>
            <div class="stat-label">核心业务模块</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">3</div>
            <div class="stat-label">终端应用</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">99.9%</div>
            <div class="stat-label">系统可用性</div>
          </div>
          <div class="stat-item">
            <div class="stat-value">HL7</div>
            <div class="stat-label">医疗数据标准</div>
          </div>
        </div>
      </div>

      <!-- 系统架构图 -->
      <div class="section-card">
        <div class="section-header">
          <div class="section-icon">📊</div>
          <h3 class="section-title">系统架构设计</h3>
        </div>
        <div class="architecture-diagram">
          <!-- 架构层级 -->
          <div class="architecture-layers">
            <!-- 应用层 -->
            <div class="layer application-layer">
              <div class="layer-header">
                <div class="layer-icon">💻</div>
                <h4 class="layer-title">应用层</h4>
              </div>
              <div class="layer-components">
                <div class="component-item">
                  <div class="component-icon">👨‍⚕️</div>
                  <div class="component-name">医护PC端</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📱</div>
                  <div class="component-name">医护移动端</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">👤</div>
                  <div class="component-name">患者移动端</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📈</div>
                  <div class="component-name">决策管理端</div>
                </div>
              </div>
            </div>

            <!-- 服务层 -->
            <div class="layer service-layer">
              <div class="layer-header">
                <div class="layer-icon">🔧</div>
                <h4 class="layer-title">服务层</h4>
              </div>
              <div class="layer-components">
                <div class="component-item">
                  <div class="component-icon">👥</div>
                  <div class="component-name">患者管理服务</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">💊</div>
                  <div class="component-name">慢病诊疗服务</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">🔍</div>
                  <div class="component-name">健康监测服务</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📚</div>
                  <div class="component-name">知识管理服务</div>
                </div>
              </div>
            </div>

            <!-- 数据层 -->
            <div class="layer data-layer">
              <div class="layer-header">
                <div class="layer-icon">🗄️</div>
                <h4 class="layer-title">数据层</h4>
              </div>
              <div class="layer-components">
                <div class="component-item">
                  <div class="component-icon">🏥</div>
                  <div class="component-name">患者数据库</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📊</div>
                  <div class="component-name">医疗指标库</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📚</div>
                  <div class="component-name">知识库</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">🔒</div>
                  <div class="component-name">权限管理库</div>
                </div>
              </div>
            </div>

            <!-- 基础设施层 -->
            <div class="layer infrastructure-layer">
              <div class="layer-header">
                <div class="component-icon">🏗️</div>
                <h4 class="layer-title">基础设施层</h4>
              </div>
              <div class="layer-components">
                <div class="component-item">
                  <div class="component-icon">🌐</div>
                  <div class="component-name">网络服务</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">🔐</div>
                  <div class="component-name">安全服务</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">⚙️</div>
                  <div class="component-name">中间件</div>
                </div>
                <div class="component-item">
                  <div class="component-icon">📊</div>
                  <div class="component-name">监控服务</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 核心业务模块 -->
      <div class="section-card">
        <div class="section-header">
          <div class="section-icon">🔍</div>
          <h3 class="section-title">核心业务模块</h3>
        </div>
        <div class="modules-grid">
          <!-- 患者管理模块 -->
          <div class="module-card">
            <div class="module-icon">👥</div>
            <h4 class="module-title">患者管理</h4>
            <ul class="module-features">
              <li><span class="feature-icon">✅</span> 患者信息管理</li>
              <li><span class="feature-icon">✅</span> 慢病档案建立</li>
              <li><span class="feature-icon">✅</span> 风险评估分级</li>
              <li><span class="feature-icon">✅</span> 随访计划制定</li>
              <li><span class="feature-icon">✅</span> 患者分组管理</li>
            </ul>
            <div class="module-status">
              <span class="status-label">开发状态</span>
              <div class="status-bar">
                <div class="status-progress" style="width: 100%;"></div>
              </div>
              <span class="status-percentage">100%</span>
            </div>
          </div>

          <!-- 慢病诊疗模块 -->
          <div class="module-card">
            <div class="module-icon">💊</div>
            <h4 class="module-title">慢病诊疗</h4>
            <ul class="module-features">
              <li><span class="feature-icon">✅</span> 健康评估问卷</li>
              <li><span class="feature-icon">✅</span> 诊疗方案制定</li>
              <li><span class="feature-icon">✅</span> 用药指导管理</li>
              <li><span class="feature-icon">✅</span> 转诊管理</li>
              <li><span class="feature-icon">🔄</span> 智能辅助决策</li>
            </ul>
            <div class="module-status">
              <span class="status-label">开发状态</span>
              <div class="status-bar">
                <div class="status-progress" style="width: 85%;"></div>
              </div>
              <span class="status-percentage">85%</span>
            </div>
          </div>

          <!-- 健康监测模块 -->
          <div class="module-card">
            <div class="module-icon">📊</div>
            <h4 class="module-title">健康监测</h4>
            <ul class="module-features">
              <li><span class="feature-icon">✅</span> 数据自动采集</li>
              <li><span class="feature-icon">✅</span> 异常数据预警</li>
              <li><span class="feature-icon">✅</span> 趋势分析图表</li>
              <li><span class="feature-icon">✅</span> 指标阈值设置</li>
              <li><span class="feature-icon">✅</span> 监测设备管理</li>
            </ul>
            <div class="module-status">
              <span class="status-label">开发状态</span>
              <div class="status-bar">
                <div class="status-progress" style="width: 90%;"></div>
              </div>
              <span class="status-percentage">90%</span>
            </div>
          </div>

          <!-- 知识管理模块 -->
          <div class="module-card">
            <div class="module-icon">📚</div>
            <h4 class="module-title">知识管理</h4>
            <ul class="module-features">
              <li><span class="feature-icon">✅</span> 健康教育内容</li>
              <li><span class="feature-icon">✅</span> 慢病指南查询</li>
              <li><span class="feature-icon">✅</span> 知识库维护</li>
              <li><span class="feature-icon">🔄</span> 个性化推荐</li>
              <li><span class="feature-icon">🔄</span> 知识图谱</li>
            </ul>
            <div class="module-status">
              <span class="status-label">开发状态</span>
              <div class="status-bar">
                <div class="status-progress" style="width: 80%;"></div>
              </div>
              <span class="status-percentage">80%</span>
            </div>
          </div>
        </div>
      </div>

      <!-- 技术栈展示 -->
      <div class="section-card">
        <div class="section-header">
          <div class="section-icon">💻</div>
          <h3 class="section-title">技术栈选型</h3>
        </div>
        <div class="tech-stack">
          <div class="tech-category">
            <h4 class="tech-category-title">前端技术</h4>
            <div class="tech-items">
              <div class="tech-item">
                <div class="tech-icon">🖼️</div>
                <div class="tech-info">
                  <div class="tech-name">Vue 3</div>
                  <div class="tech-desc">渐进式JavaScript框架</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🎨</div>
                <div class="tech-info">
                  <div class="tech-name">Element Plus</div>
                  <div class="tech-desc">医疗级UI组件库</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">📊</div>
                <div class="tech-info">
                  <div class="tech-name">ECharts</div>
                  <div class="tech-desc">医疗数据可视化</div>
                </div>
              </div>
            </div>
          </div>

          <div class="tech-category">
            <h4 class="tech-category-title">后端技术</h4>
            <div class="tech-items">
              <div class="tech-item">
                <div class="tech-icon">🚀</div>
                <div class="tech-info">
                  <div class="tech-name">Spring Boot</div>
                  <div class="tech-desc">Java微服务框架</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🔄</div>
                <div class="tech-info">
                  <div class="tech-name">Dubbo</div>
                  <div class="tech-desc">分布式服务框架</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🔐</div>
                <div class="tech-info">
                  <div class="tech-name">Spring Security</div>
                  <div class="tech-desc">医疗数据安全认证</div>
                </div>
              </div>
            </div>
          </div>

          <div class="tech-category">
            <h4 class="tech-category-title">数据库</h4>
            <div class="tech-items">
              <div class="tech-item">
                <div class="tech-icon">🗄️</div>
                <div class="tech-info">
                  <div class="tech-name">MySQL</div>
                  <div class="tech-desc">关系型数据库</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">📚</div>
                <div class="tech-info">
                  <div class="tech-name">Elasticsearch</div>
                  <div class="tech-desc">医疗数据检索引擎</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🧠</div>
                <div class="tech-info">
                  <div class="tech-name">Redis</div>
                  <div class="tech-desc">缓存服务</div>
                </div>
              </div>
            </div>
          </div>

          <div class="tech-category">
            <h4 class="tech-category-title">医疗标准</h4>
            <div class="tech-items">
              <div class="tech-item">
                <div class="tech-icon">📋</div>
                <div class="tech-info">
                  <div class="tech-name">HL7</div>
                  <div class="tech-desc">医疗数据交换标准</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🏥</div>
                <div class="tech-info">
                  <div class="tech-name">DICOM</div>
                  <div class="tech-desc">医学影像标准</div>
                </div>
              </div>
              <div class="tech-item">
                <div class="tech-icon">🔒</div>
                <div class="tech-info">
                  <div class="tech-name">HIPAA</div>
                  <div class="tech-desc">医疗信息隐私保护</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 系统建设里程碑 -->
      <div class="section-card">
        <div class="section-header">
          <div class="section-icon">🎯</div>
          <h3 class="section-title">建设里程碑</h3>
        </div>
        <div class="milestones-timeline">
          <div class="milestone-item completed">
            <div class="milestone-date">2024年1月</div>
            <div class="milestone-content">
              <div class="milestone-title">需求分析与规划</div>
              <div class="milestone-desc">完成医疗场景调研、需求分析和系统规划设计</div>
            </div>
            <div class="milestone-status">
              <span class="status-badge completed">已完成</span>
            </div>
          </div>

          <div class="milestone-item completed">
            <div class="milestone-date">2024年3月</div>
            <div class="milestone-content">
              <div class="milestone-title">架构设计与原型开发</div>
              <div class="milestone-desc">完成系统架构设计、数据库设计和前端原型开发</div>
            </div>
            <div class="milestone-status">
              <span class="status-badge completed">已完成</span>
            </div>
          </div>

          <div class="milestone-item in-progress">
            <div class="milestone-date">2024年5月</div>
            <div class="milestone-content">
              <div class="milestone-title">核心功能开发</div>
              <div class="milestone-desc">开发患者管理、慢病诊疗、健康监测等核心模块</div>
            </div>
            <div class="milestone-status">
              <span class="status-badge in-progress">进行中</span>
            </div>
          </div>

          <div class="milestone-item upcoming">
            <div class="milestone-date">2024年7月</div>
            <div class="milestone-content">
              <div class="milestone-title">系统测试与优化</div>
              <div class="milestone-desc">完成医疗数据测试、性能优化和安全审计</div>
            </div>
            <div class="milestone-status">
              <span class="status-badge upcoming">计划中</span>
            </div>
          </div>

          <div class="milestone-item upcoming">
            <div class="milestone-date">2024年9月</div>
            <div class="milestone-content">
              <div class="milestone-title">试点部署与推广</div>
              <div class="milestone-desc">在合作医疗机构进行试点部署并逐步推广</div>
            </div>
            <div class="milestone-status">
              <span class="status-badge upcoming">计划中</span>
            </div>
          </div>
        </div>
      </div>

      <!-- 系统安全保障 -->
      <div class="section-card">
        <div class="section-header">
          <div class="section-icon">🛡️</div>
          <h3 class="section-title">医疗数据安全保障</h3>
        </div>
        <div class="security-features">
          <div class="security-item">
            <div class="security-icon">🔐</div>
            <div class="security-content">
              <h4 class="security-title">数据加密</h4>
              <p class="security-desc">采用AES-256加密算法保护患者敏感信息，传输过程使用SSL/TLS加密</p>
            </div>
          </div>

          <div class="security-item">
            <div class="security-icon">👁️</div>
            <div class="security-content">
              <h4 class="security-title">访问控制</h4>
              <p class="security-desc">基于角色的精细化权限管理，确保医护人员只能访问职责范围内的患者数据</p>
            </div>
          </div>

          <div class="security-item">
            <div class="security-icon">📝</div>
            <div class="security-content">
              <h4 class="security-title">审计日志</h4>
              <p class="security-desc">记录所有医疗数据访问和操作日志，支持追溯和取证</p>
            </div>
          </div>

          <div class="security-item">
            <div class="security-icon">🛡️</div>
            <div class="security-content">
              <h4 class="security-title">合规认证</h4>
              <p class="security-desc">符合HIPAA、GDPR等医疗数据隐私保护法规要求</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 底部信息 -->
    <div class="footer-section">
      <div class="footer-content">
        <div class="footer-logo">
          <i class="el-icon-medal"></i>
          <span>区域慢病管理系统 - 系统建设</span>
        </div>
        <div class="footer-info">
          <p>建设阶段：V1.0 核心功能开发中</p>
          <p>© 2024 区域慢病管理系统 版权所有</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import { ref, onMounted } from 'vue'
import { ElMessage } from 'element-plus'

// 页面加载时的提示
onMounted(() => {
  ElMessage.info('查看区域慢病管理系统建设视图')
})
</script>

<style scoped>
/* 全局样式 */
.construction-view {
  padding: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: 100vh;
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 页面标题区域 */
.page-header {
  margin-bottom: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 700;
  color: #01337A;
}

.page-title .icon {
  font-size: 36px;
}

.breadcrumb {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* 内容容器 */
.content-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 概览卡片 */
.overview-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.overview-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.overview-icon {
  font-size: 64px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.overview-title {
  font-size: 28px;
  font-weight: 700;
  color: #01337A;
  margin: 0 0 8px 0;
}

.overview-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.overview-description {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
  border-left: 4px solid #156296;
  padding-left: 20px;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  background: linear-gradient(135deg, #01337A, #156296);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: white;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* 通用区域卡片 */
.section-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.section-icon {
  font-size: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #01337A;
  margin: 0;
}

/* 架构图样式 */
.architecture-diagram {
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  overflow-x: auto;
}

.architecture-layers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.layer {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.layer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.layer-icon {
  font-size: 20px;
}

.layer-title {
  font-size: 18px;
  font-weight: 600;
  color: #01337A;
  margin: 0;
}

.layer-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.component-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #156296;
}

.component-icon {
  font-size: 24px;
}

.component-name {
  font-weight: 500;
  color: #01337A;
}

/* 应用层特殊样式 */
.application-layer {
  border-left: 6px solid #01337A;
}

.service-layer {
  border-left: 6px solid #156296;
}

.data-layer {
  border-left: 6px solid #01A63E;
}

.infrastructure-layer {
  border-left: 6px solid #462D92;
}

/* 模块卡片样式 */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.module-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.module-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

.module-title {
  font-size: 20px;
  font-weight: 600;
  color: #01337A;
  margin-bottom: 16px;
  text-align: center;
}

.module-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.module-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  font-size: 16px;
}

.module-status {
  margin-top: 20px;
}

.status-label {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.status-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.status-progress {
  height: 100%;
  background: linear-gradient(90deg, #01337A, #156296);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.status-percentage {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #01337A;
  text-align: right;
}

/* 技术栈样式 */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tech-category {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.tech-category-title {
  font-size: 18px;
  font-weight: 600;
  color: #01337A;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.tech-icon {
  font-size: 24px;
}

.tech-name {
  font-weight: 600;
  color: #01337A;
}

.tech-desc {
  font-size: 14px;
  color: #64748b;
}

/* 里程碑时间线样式 */
.milestones-timeline {
  position: relative;
  padding-left: 40px;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.milestone-item {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 32px;
}

.milestone-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 4px solid #f8fafc;
  background: #156296;
}

.milestone-item.completed::before {
  background: #01A63E;
}

.milestone-item.in-progress::before {
  background: #462D92;
}

.milestone-item.upcoming::before {
  background: #999999;
}

.milestone-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.milestone-date {
  font-size: 16px;
  font-weight: 600;
  color: #01337A;
  margin-bottom: 8px;
}

.milestone-title {
  font-size: 18px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.milestone-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.completed {
  background: #dcfce7;
  color: #166534;
}

.status-badge.in-progress {
  background: #ede9fe;
  color: #6d28d9;
}

.status-badge.upcoming {
  background: #e2e8f0;
  color: #64748b;
}

/* 安全保障样式 */
.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.security-item {
  display: flex;
  gap: 16px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #01337A;
}

.security-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.security-title {
  font-size: 18px;
  font-weight: 600;
  color: #01337A;
  margin-bottom: 8px;
}

.security-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* 底部样式 */
.footer-section {
  margin-top: 64px;
  padding: 32px;
  background: linear-gradient(135deg, #01337A, #156296);
  border-radius: 16px;
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 32px;
}

.footer-info p {
  margin: 4px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .construction-view {
    padding: 16px;
  }
  
  .page-header {
    padding: 20px 24px;
    margin-bottom: 24px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .section-card {
    padding: 24px;
  }
  
  .overview-header {
    flex-direction: column;
    text-align: center;
  }
  
  .overview-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .module-card,
  .tech-category,
  .security-item {
    margin-bottom: 16px;
  }
  
  .milestones-timeline {
    padding-left: 30px;
  }
  
  .milestones-timeline::before {
    left: 15px;
  }
  
  .milestone-item::before {
    left: -30px;
  }
  
  .footer-section {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .overview-stats,
  .layer-components,
  .modules-grid,
  .tech-stack,
  .security-features {
    grid-template-columns: 1fr;
  }
  
  .module-card {
    padding: 20px;
  }
  
  .tech-item,
  .security-item {
    flex-direction: column;
    text-align: center;
  }
}
</style>